package com.woniu.gym.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_qualification")
public class TQualification implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "certify_id", type = IdType.AUTO)
    private Integer certifyId;

    @TableField("gym_id")
    private Integer gymId;

    @TableField("gym_photo")
    private String gymPhoto;

    @TableField("gym_name")
    private String gymName;

    @TableField("gym_license")
    private String gymLicense;

    @TableField("gym_permit")
    private String gymPermit;

    @TableField("gym_details")
    private String gymDetails;

    @TableField("gym_site")
    private String gymSite;

    @TableField("gym_longitude")
    private Double gymLongitude;

    @TableField("gym_latitude")
    private Double gymLatitude;

    @TableField("gym_linkman")
    private String gymLinkman;

    @TableField("gym_phone")
    private String gymPhone;

    /**
     * 0待审核 1通过 2驳回 3取消
     */
    @TableField("certify_state")
    private Integer certifyState;

    @TableField("overrule_cause")
    private String overruleCause;


    /**
     * 审批时间
     */
    @TableField("approve_time")
    private LocalDateTime approveTime;


}
